package com.mxpio.erp.equipment.service.impl;

import com.mxpio.erp.common.equipment.entity.EquipmentUpkeepTaskDetailParam;
import com.mxpio.erp.common.equipment.service.EquipmentUpkeepTaskDetailParamService;
import com.mxpioframework.jpa.JpaUtil;
import com.mxpioframework.system.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 保养任务明细选项Service业务层处理
 *
 * @author Cheng
 * @date 2023-07-28
 */
@Service
public class EquipmentUpkeepTaskDetailParamServiceImpl extends BaseServiceImpl<EquipmentUpkeepTaskDetailParam> implements EquipmentUpkeepTaskDetailParamService {
    @Override
    @Transactional
    public void deleteMain(String mainId) {
        JpaUtil.lind(EquipmentUpkeepTaskDetailParam.class).equal("detailId",mainId).delete();
    }
}
